# 文件的读取

try:
    f = open(r"F:\back\python\stu-ptthon-qianfeng\day07\a.txt", "r", encoding="utf-8")
    print(f.read())
except IOError as e:
    print("没有此文件")
    print(e)
finally:
    if f:
        f.close()












